/**
 * 
 */
package Utils;

import java.awt.Color;

/**
 * @author Avia Tam
 * @author Assaf Miron
 *
 */
public class LoadInfo {
	private Double initFunds;
	private Boolean isHuman;
        private Boolean isActive;
	private Color playerColor;
	private String playerName;
	
	/**
         * Constructs a Loading Information about the Player in the Game
         * @param name The Player Name
         * @param funds The Players Initial Funds
         * @param human Is the Player a Human Player or Not
         * @param color The Player Color representation in the Game
         */
        public LoadInfo(String name, Double funds, Boolean human, Boolean active, Color color)
	{
		playerName = name;
		initFunds = funds;
		isHuman = human;
                isActive = active;
		playerColor = color;
	}

	
	public final String getPlayerName() {
		return playerName;
	}
	
	public final Double getInitFunds() {
		return initFunds;
	}

	public final Boolean getIsHuman() {
		return isHuman;
	}

        public final Boolean getIsActive(){
            return isActive;
        }

	public final Color getPlayerColor() {
		return playerColor;
	}

	public final void setInitFunds(Double initFunds) {
		this.initFunds = initFunds;
	}

	public final void setIsHuman(Boolean isHuman) {
		this.isHuman = isHuman;
	}

        public final void setIsActive(Boolean isActive){
            this.isActive = isActive;
        }
                
	public final void setPlayerColor(Color playerColor) {
		this.playerColor = playerColor;
	}

	public final void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
}
